<?php
namespace models;

use Medoo\Medoo;

class BaseDoo extends Medoo{
    public function __construct()
    {
        $options = [
            'database_type' => DATABASETYPE,
            'database_name' => DATABASENAME,
            'server' => SERVER,
            'username' => USERNAME,
            'password' => PASSWORD,
            'port' => PORT,
            'prefix' => PREFIX
        ];
        parent::__construct($options);
    }
}